﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace iSun.Report
{
    /// <summary>
    /// 列表报表参数类
    /// </summary>
    public class ListParams:ParamsFactory
    {
        private ListParams(DataSet dataSource)
        {
            this.reportType = ReportType.List;
            this.reportDataSource = dataSource;
            this.pagerSize = System.Drawing.Printing.PaperKind.A3Extra;
        }
        /// <summary>
        /// 列表报表参数类实例化
        /// </summary>
        /// <param name="dataSource">数据源</param>
        /// <returns></returns>
        public new static ListParams GetInstance(DataSet dataSource)
        {
            return new ListParams(dataSource);
        }
    }
}
